package com.ftg.learn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 试卷表明细表[试题与试卷中间表]
 * </p>
 *
 * @author kangjx
 * @since 2022-09-30
 */
@TableName("daily_recorder_wrong")
public class RecorderWrong implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 试题编号
     */
    private Integer questionId;

    /**
     * 作答编号
     */
    private Integer recorderId;

    /**
     * 是否修订 0 未修订  1 已修订
     */
    private Byte isModify;

    /**
     * 逻辑删除 0 存在  1已删除
     */
    private Byte isDeleted;

    /**
     * 创建时间
     */
    private LocalDateTime gmcCreate;

    /**
     * 最后修改时间
     */
    private LocalDateTime gmcUpdate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Integer questionId) {
        this.questionId = questionId;
    }

    public Integer getRecorderId() {
        return recorderId;
    }

    public void setRecorderId(Integer recorderId) {
        this.recorderId = recorderId;
    }

    public Byte getIsModify() {
        return isModify;
    }

    public void setIsModify(Byte isModify) {
        this.isModify = isModify;
    }

    public Byte getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public LocalDateTime getGmcCreate() {
        return gmcCreate;
    }

    public void setGmcCreate(LocalDateTime gmcCreate) {
        this.gmcCreate = gmcCreate;
    }

    public LocalDateTime getGmcUpdate() {
        return gmcUpdate;
    }

    public void setGmcUpdate(LocalDateTime gmcUpdate) {
        this.gmcUpdate = gmcUpdate;
    }

    @Override
    public String toString() {
        return "RecorderWrong{" +
            "id = " + id +
            ", questionId = " + questionId +
            ", recorderId = " + recorderId +
            ", isModify = " + isModify +
            ", isDeleted = " + isDeleted +
            ", gmcCreate = " + gmcCreate +
            ", gmcUpdate = " + gmcUpdate +
        "}";
    }
}
